#include "../common.h"
#include "testactivity.h"
#include "../application.h"


extern "C" void ANativeActivity_onCreatemain(ANativeActivity* activity, void* savedState,size_t savedStateSize) {
 LOGI("on create called");
 androidplus::application::cur_app()->init(new androidplus::testactivity);
 ANativeActivity_onCreate(activity,savedState,savedStateSize);
}
/*extern "C" void ANativeActivity_onCreatemain2(ANativeActivity* activity, void* savedState,size_t savedStateSize) {
 LOGI("on create called2");
 androidplus::application::cur_app()->init(create_activity());
 ANativeActivity_onCreate(activity,savedState,savedStateSize);
}*/



